package com.huc.design.other.delegate.base;

/**
 * @author huc
 * @version 1.0
 * @note 另类的静态代理模式
 * @date 2021/11/16 16:20
 */
public class TestDelegate {
    public static void main(String[] args) {
        new Boss().command(TaskEnum.SQL,new Leader());
        new Boss().command(TaskEnum.PS,new Leader());
        new Boss().command(TaskEnum.BUY,new Leader());
    }
}
